﻿using DAL;
using IBLL;
using IDAL;
using Model;
using System;
using System.Collections.Generic;
using System.Text;
 

namespace BLL
{
    public class RoomIntensiveBLL : IRoomIntensiveBLL
    {
        IRoomIntensiveDAL _Dal;
        public RoomIntensiveBLL(IRoomIntensiveDAL dal)
        {
            _Dal = dal;
        }
         public int AddRoom(RoomIntensive m)
        {
            return _Dal.AddRoom(m);
        }

        public List<RoomIntensive> GetRoom()
        {
            return _Dal.GetRoom();
        }

        public RoomIntensive GetRoomById(int pid)
        {
            return _Dal.GetRoomById(pid);
        }

        public List<RoomType> GetRoomTypes()
        {
            return _Dal.GetRoomTypes();
        }

        public int UptRoom(RoomIntensive m)
        {
            return _Dal.UptRoom(m);
        }
    }
}
